home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q0429.dms / q0429.adf / raypaint / README < prev    next >
Text File  |  1992-05-20  |  2KB  |  35 lines

  1. Raypaint reads a rayshade input file and opens a graphics window into
  2. which the image is progressively rendered.  Graphics support routines
  3. are provided for X11 and GL (SGI / RS6000).  Note that raypaint displays
  4. a greyscale image when running under X.
  5.  
  6. Command-line arguments to raypaint are identical to rayshade arguments.
  7.  
  8. By default, raypaint refines areas of the image that it considers
  9. "interesting" (largish and contrasty).  The mouse may be used to direct
  10. raypaint to concentrate on particular regions.  Holding down the
  11. left mouse button causes the indicated region to be single-sampled down
  12. to the pixel level.  The right button causes the region to be supersampled.
  13. When either button is released, raypaint continues to refine by
  14. either single-sampling (if the left button was pressed) or supersampling
  15. (if the right button was pressed).  If either button is pressed while the
  16. cursor is pointing at a region that has already been resolved to the
  17. pixel-level, raypaint will instead choose its own region to refine.
  18.  
  19. The middle mouse button may be used to sweep out a rectangular region to
  20. which raypaint should restrict its refinement:  Press and hold the middle
  21. mouse button while pointing at one corner of the region of interest,
  22. drag the cursor to the opposite corner and release the mouse button.
  23. Note that no rectangle will be drawn.  Refinement will continue inside
  24. of the indicated region.
  25.  
  26. When every pixel has been sampled, an image file is written.
  27.  
  28. Note that raypaint is intended to be an example application, not a
  29. polished tool.  You are encouraged to tear apart raypaint to improve
  30. it or build your own application.
  31.  
  32. To compile, move either xgraphics.c (X11) or glgraphics.c (SGI) to
  33. graphics.c, edit the Makefile and change GRAPHICSLIB to reflect your
  34. choice of graphics support, and run make.
  35.